package code.domain;

import java.util.List;
/**
 * 生成文件的Class对象
 * @author puxin.zhang
 *
 */
public class ClassModel {
	/**
	 * 类名
	 */
	private String name;
	/**
	 * 类描述，类注释
	 */
	private String desc;
	/**
	 * 包名
	 */
	private String packageName;
	/**
	 * 字段集合
	 */
	private List<ClassField> fields;
	/**
	 * 名称首字母大写
	 */
	private String initUpperName;
	/**
	 * 名称首字母小写
	 */
	private String initLowerName;
	/**
	 * 名称首字母小写
	 */
	private String lowerName;
	/**
	 * 数据库表名称
	 */
	private String dbName;
	/**
	 * 数据库表名大写
	 */
	private String upperDbName;
	/**
	 * 子表数据对象
	 */
	private List<ClassModel> childModels;

	public List<ClassModel> getChildModels() {
		return childModels;
	}
	public void setChildModels(List<ClassModel> childModels) {
		this.childModels = childModels;
	}
	public String getDbName() {
		return dbName;
	}
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getPackageName() {
		return packageName;
	}
	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
	public List<ClassField> getFields() {
		return fields;
	}
	public void setFields(List<ClassField> fields) {
		this.fields = fields;
	}
	public String getInitUpperName() {
		return initUpperName;
	}
	public void setInitUpperName(String initUpperName) {
		this.initUpperName = initUpperName;
	}
	public String getInitLowerName() {
		return initLowerName;
	}
	public void setInitLowerName(String initLowerName) {
		this.initLowerName = initLowerName;
	}
	public String getLowerName() {
		return lowerName;
	}
	public void setLowerName(String lowerName) {
		this.lowerName = lowerName;
	}
	public String getUpperDbName() {
		return upperDbName;
	}
	public void setUpperDbName(String upperDbName) {
		this.upperDbName = upperDbName;
	}
	
}
